<?php


/**
* Puree CMS
* http://www.molotsoft.ru
*
* @package Puree_CMS
* @subpackage Models
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: vote_question.php 1219 2010-03-29 13:00:09Z molotsoft@gmail.com $
* @link $HeadURL: http://puree-cms.googlecode.com/svn/trunk/models/vote_question.php $
*/


class VoteQuestion extends GeneralModel {

/******************************************************************************/

var $name = 'VoteQuestion';

var $hasMany = array(
	'VoteAnswer' => array('dependent' => TRUE, 'isItem' => TRUE)
);

var $displayField = 'caption';

var $order = array(
	'VoteQuestion.position' => 'ASC',
	'VoteQuestion.id' => 'ASC'
);

var $actsAs = array(
	'Admin.Automate',
	'Containable'
);

/******************************************************************************/

}


?>